package com.hkyl.hospital.entity;

import java.io.Serializable;
import java.math.BigDecimal;

public class Medicine implements Serializable {
    private Integer medicineId;

    private String medicineName;

    private BigDecimal medicinePrice;

    private Integer medicineNum;

    private String medicineDescription;

    private String medicinePrecautions;

    private Integer status;

    private String avg1;

    private String avg2;

    private String avg3;

    private static final long serialVersionUID = 1L;

    public Integer getMedicineId() {
        return medicineId;
    }

    public void setMedicineId(Integer medicineId) {
        this.medicineId = medicineId;
    }

    public String getMedicineName() {
        return medicineName;
    }

    public void setMedicineName(String medicineName) {
        this.medicineName = medicineName == null ? null : medicineName.trim();
    }

    public BigDecimal getMedicinePrice() {
        return medicinePrice;
    }

    public void setMedicinePrice(BigDecimal medicinePrice) {
        this.medicinePrice = medicinePrice;
    }

    public Integer getMedicineNum() {
        return medicineNum;
    }

    public void setMedicineNum(Integer medicineNum) {
        this.medicineNum = medicineNum;
    }

    public String getMedicineDescription() {
        return medicineDescription;
    }

    public void setMedicineDescription(String medicineDescription) {
        this.medicineDescription = medicineDescription == null ? null : medicineDescription.trim();
    }

    public String getMedicinePrecautions() {
        return medicinePrecautions;
    }

    public void setMedicinePrecautions(String medicinePrecautions) {
        this.medicinePrecautions = medicinePrecautions == null ? null : medicinePrecautions.trim();
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getAvg1() {
        return avg1;
    }

    public void setAvg1(String avg1) {
        this.avg1 = avg1 == null ? null : avg1.trim();
    }

    public String getAvg2() {
        return avg2;
    }

    public void setAvg2(String avg2) {
        this.avg2 = avg2 == null ? null : avg2.trim();
    }

    public String getAvg3() {
        return avg3;
    }

    public void setAvg3(String avg3) {
        this.avg3 = avg3 == null ? null : avg3.trim();
    }
}